package com.ruoyi.web.controller.applet;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.BdmOrderShipments;
import com.ruoyi.system.service.IBdmOrderShipmentsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 订单日志
 * 
 * @author ruoyi
 * @date 2024-12-28
 */
@RestController
@RequestMapping("/applet/shipments")
public class AppletOrderShipmentsController extends BaseController
{
    @Autowired
    private IBdmOrderShipmentsService bdmOrderShipmentsService;

    /**
     * 查询订单操作日志
     * @return {@link BdmOrderShipments}
     */
    @GetMapping("/list")
    public TableDataInfo list(BdmOrderShipments bdmOrderShipments)
    {
        startPage();
        List<BdmOrderShipments> list = bdmOrderShipmentsService.selectBdmOrderShipmentsAfterSaleList(bdmOrderShipments);
        return getDataTable(list);
    }
}
